package com.aizuda.boot.modules.business.contract.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName WorkflowFormFieldsSaveDTO
 * @Version 1.0
 * @Date 2025/5/21 19:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "保存合同流程表单字段配置")
public class WorkflowFormFieldsSaveDTO {

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "模块ID")
    private Integer id;

    @Schema(description = "模块名称")
    private String moduleName;

    @Schema(description = "模块排序")
    private Integer moduleOrder;

    @Schema(description = "是否系统字段（1-系统，0-非系统）系统字段不可删除")
    private Boolean isSystem;

    @Schema(description = "字段列表")
    private List<WorkflowFormFieldDTO> workflowFormFields;
}
